﻿<%@ MasterType VirtualPath="~/SiteNavigation.master" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteNavigation.master" AutoEventWireup="true" CodeFile="AllCourseFacultyInfo.aspx.cs" Inherits="CourseFaculty_AllCourseFacultyInfo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <div style="width: 676px">
    <asp:Label ID="Label1" runat="server" Text="Faculty Name: "></asp:Label>
&nbsp;<asp:TextBox ID="CourseFacultyNameTxtBx" runat="server" ></asp:TextBox>
&nbsp;&nbsp;
    <asp:Button ID="CourseFacNameSearchButton" runat="server" 
        onclick="CourseFacNameSearchButton_Click" Text="Search" Width="77px" />
    <br />
    <br />
    <asp:Label ID="Label2" runat="server" Text="Course ID: "></asp:Label>
    <asp:TextBox ID="CourseFacCourseIdTextBx" runat="server" 
        style="margin-left: 37px"></asp:TextBox>
    <asp:Button ID="CourseFacuCourseIdButton" runat="server" 
        onclick="CourseFacuCourseIdButton_Click" style="margin-left: 22px" 
        Text="Search" Width="72px" />
        <br />
        <br />
        <hr />
</div>
<div>
    <asp:GridView ID="CourseFacultyInfoGridView" runat="server" 
        AutoGenerateColumns="False" 
        DataKeyNames="CourseFacultyId,CourseAutoId,FacultyAutoId,SemAutoId" 
        EnableModelValidation="True" Width="677px">
        <Columns>
            <asp:BoundField DataField="CourseId" HeaderText="Course Id" 
                SortExpression="Course Id" />
            <asp:BoundField DataField="Course" HeaderText="Course" 
                SortExpression="Course" />
            <asp:BoundField DataField="Faculty" HeaderText="Faculty" 
                SortExpression="Faculty" />
            <asp:BoundField DataField="Semester" HeaderText="Semester" 
                SortExpression="Semester" />
        </Columns>
    </asp:GridView>
</div>
</asp:Content>

